package com.bigdata.mysql.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bigdata.model.SearchModel;
import com.bigdata.mysql.dao.base.CrudRepository;
import com.bigdata.mysql.entity.Columns;
import com.bigdata.mysql.entity.Rmrb;
import com.bigdata.mysql.entity.RmrbExample;
import com.bigdata.mysql.entity.RmrbWithBLOBs;

public interface RmrbMapper extends CrudRepository<Rmrb, RmrbExample> {

	int insert(RmrbWithBLOBs record);

	int insertSelective(RmrbWithBLOBs record);

	List<RmrbWithBLOBs> selectByExampleWithBLOBs(RmrbExample example);

	int updateByExampleSelective(@Param("record") RmrbWithBLOBs record, @Param("example") RmrbExample example);

	int updateByExampleWithBLOBs(@Param("record") RmrbWithBLOBs record, @Param("example") RmrbExample example);

	int updateByPrimaryKeySelective(RmrbWithBLOBs record);

	int updateByPrimaryKeyWithBLOBs(RmrbWithBLOBs record);

	List<Columns> queryColumnname(SearchModel searchModel);
}